//覆盖一些element-ui样式
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

//dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}
.el-pagination{
  margin-top: 18px;
  text-align: center;
}
.el-dialog__body{
  padding: 0;
}
.el-card__body{
  padding: 0;
}
.el-pagination{
  overflow: auto;
}
// 给父级一个样式可以区域修改element样式
.demo-ruleForm{
  .el-form-item__label{
    line-height: 32px;
  }
  .el-form-item__content{
    width: 55%;
    line-height: 32px;
    height: 32px;
  }
  .el-form-item{
    margin-bottom: 22px;
  }
}
// Three树
.three{
  .el-form-item__content{
    height: auto;
  }
  .el-checkbox+.el-checkbox{
    margin-left: 0;
  }
  .el-checkbox{
    margin-right: 30px;
  }
}
.el-select{
  width: 100%;
}
.el-popper[x-placement^=bottom] {
  margin-top: 5px;
}
.el-dialog__header{
  margin-bottom: 15px;
}
// confirm弹框样式
.el-message-box{
  position: fixed;
  left: 50%;
  top: 15%;
  margin-left: -210px;
}
// 展开行的样式
.el-table__expanded-cell[class*=cell]{
  padding: 20px 30px;
}
.tableExpand{
  .el-table__body{
    td{
      padding: 5px 0;
      .table-icon{
        padding: 3px;
      }
    }
  }
}
// 侧边栏行高
.el-submenu .el-menu-item{
  height: 40px;
  line-height: 40px;
}
// tab卡
.tabsBox{
  .el-tabs__header{
    padding: 0 40px;
  }
  .el-tabs__nav-wrap::after{
    background-color: #fff;
  }
}
// 表格加载遮罩层
.el-loading-mask{
  z-index: 899;
}
